package cj.web.activity.domain;

import cj.web.admin.domain.DataTablePage;

import java.io.Serializable;

/**
 * TODO: add class/table comments
 */
public class GiftSeller extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -309888250156827177L;
	
	protected Integer id;
	protected String name;
	protected String link;
	protected String imgURL;
	protected Integer orderId;
	protected Integer deleteFlag;
	protected String createAT;
	protected String updateAT;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getImgURL() {
		return imgURL;
	}
	public void setImgURL(String imgURL) {
		this.imgURL = imgURL;
	}
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAT() {
		return createAT;
	}
	public void setCreateAT(String createAT) {
		this.createAT = createAT;
	}
	public String getUpdateAT() {
		return updateAT;
	}
	public void setUpdateAT(String updateAT) {
		this.updateAT = updateAT;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((createAT == null) ? 0 : createAT.hashCode());
		result = prime * result + ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((imgURL == null) ? 0 : imgURL.hashCode());
		result = prime * result + ((link == null) ? 0 : link.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result + ((orderId == null) ? 0 : orderId.hashCode());
		result = prime * result + ((updateAT == null) ? 0 : updateAT.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GiftSeller other = (GiftSeller) obj;
		if (createAT == null) {
			if (other.createAT != null)
				return false;
		} else if (!createAT.equals(other.createAT))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (imgURL == null) {
			if (other.imgURL != null)
				return false;
		} else if (!imgURL.equals(other.imgURL))
			return false;
		if (link == null) {
			if (other.link != null)
				return false;
		} else if (!link.equals(other.link))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (orderId == null) {
			if (other.orderId != null)
				return false;
		} else if (!orderId.equals(other.orderId))
			return false;
		if (updateAT == null) {
			if (other.updateAT != null)
				return false;
		} else if (!updateAT.equals(other.updateAT))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "GiftSeller [id=" + id + ", name=" + name + ", link=" + link + ", imgURL=" + imgURL + ", orderId="
				+ orderId + ", deleteFlag=" + deleteFlag + ", createAT=" + createAT + ", updateAT=" + updateAT + "]";
	}
	
	


	



}
